package za.org.foobar.famon.reporter;

import za.org.foobar.famon.dto.CFailure;
import za.org.foobar.famon.dto.CLoggingEvent;

import java.util.List;

/**
 * An interface to be able to handle the sending of failures.
 */
public interface FamonWorkProcessor {
    public void setFamonReporterLogic(FamonReporterLogic logic);
    public void sendFailure(CFailure failure, String threadName, List<CLoggingEvent> loggingEventList,
                                  Throwable exception);
}
